package com.andy.web.user.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Repository;

import com.andy.domain.model.User;

@Repository
public interface UserMapper {

	boolean addNewUser( @Param("tuples")List<User> tuples);

	User fetchUserByUsername(@Param("username") String username);

	User fetchUserByEmail(@Param("email") String email);

	boolean updateStatusById(@Param("id")long id, @Param("status")int status);
}
